package com.mobile.service.dto;
import com.mobile.service.dto.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 补正信息表
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SupplementInfoDTO extends BaseDTO {
    @Schema(description = "补正信息唯一标识", accessMode = Schema.AccessMode.READ_ONLY)
    private Integer supplementInfoId;

    @Schema(description = "险种类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private String insuranceType;

    @Schema(description = "申请表单信息ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String applicationFormId;

    @Schema(description = "补正项", requiredMode = Schema.RequiredMode.REQUIRED)
    private String supplement;

    @Schema(description = "补正信息内容", requiredMode = Schema.RequiredMode.REQUIRED)
    private String supplementContent;

    @Schema(description = "业务员ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String staffId;

    @Schema(description = "申报人ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String applicantId;

    @Schema(description = "补正状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private String  status;


    private String  workOrderNo;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate dueDate;

    private String  allocationStatus;
    private String  applicantPhone;
    private String  applicantIdNumber;
    private String applicantName;
    private String applicantAddress;

}
